package com.xyh.student.service;

import com.xyh.student.entity.ResponseData;
import com.xyh.student.entity.Student;


public interface StudentService {
    ResponseData queryAllStudents(Integer pageNum,Integer pageSize);

    ResponseData queryByName(String name);

    ResponseData queryBySid(long sid);
    ResponseData insertStudent(Student student);

    ResponseData deleteStudentBySid(long sid);

    ResponseData deletes(long[] sids);

    ResponseData updateStudent(Student student);

    ResponseData numberOfStudents();

    ResponseData queryCidByName(String cname);
    //通过学生输入的班级名称找到班级的cid并将其添加到学生表中
    ResponseData InsertStudentOfCourse(Student student,String cname);


}
